use crate::co::*;

const_values! { HRESULT;
	=>
	DXGI_STATUS_OCCLUDED 0x087a_0001
	DXGI_STATUS_CLIPPED 0x087a_0002
	DXGI_STATUS_NO_REDIRECTION 0x087a_0004
	DXGI_STATUS_NO_DESKTOP_ACCESS 0x087a_0005
	DXGI_STATUS_GRAPHICS_VIDPN_SOURCE_IN_USE 0x087a_0006
	DXGI_STATUS_MODE_CHANGED 0x087a_0007
	DXGI_STATUS_MODE_CHANGE_IN_PROGRESS 0x087a_0008
	DXGI_ERROR_INVALID_CALL 0x887a_0001
	DXGI_ERROR_NOT_FOUND 0x887a_0002
	DXGI_ERROR_MORE_DATA 0x887a_0003
	DXGI_ERROR_UNSUPPORTED 0x887a_0004
	DXGI_ERROR_DEVICE_REMOVED 0x887a_0005
	DXGI_ERROR_DEVICE_HUNG 0x887a_0006
	DXGI_ERROR_DEVICE_RESET 0x887a_0007
	DXGI_ERROR_WAS_STILL_DRAWING 0x887a_000a
	DXGI_ERROR_FRAME_STATISTICS_DISJOINT 0x887a_000b
	DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE 0x887a_000c
	DXGI_ERROR_DRIVER_INTERNAL_ERROR 0x887a_0020
	DXGI_ERROR_NONEXCLUSIVE 0x887a_0021
	DXGI_ERROR_NOT_CURRENTLY_AVAILABLE 0x887a_0022
	DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED 0x887a_0023
	DXGI_ERROR_REMOTE_OUTOFMEMORY 0x887a_0024
	DXGI_ERROR_ACCESS_LOST 0x887a_0026
	DXGI_ERROR_WAIT_TIMEOUT 0x887a_0027
	DXGI_ERROR_SESSION_DISCONNECTED 0x887a_0028
	DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE 0x887a_0029
	DXGI_ERROR_CANNOT_PROTECT_CONTENT 0x887a_002a
	DXGI_ERROR_ACCESS_DENIED 0x887a_002b
	DXGI_ERROR_NAME_ALREADY_EXISTS 0x887a_002c
	DXGI_ERROR_SDK_COMPONENT_MISSING 0x887a_002d
	DXGI_ERROR_NOT_CURRENT 0x887a_002e
	DXGI_ERROR_HW_PROTECTION_OUTOFMEMORY 0x887a_0030
	DXGI_ERROR_DYNAMIC_CODE_POLICY_VIOLATION 0x887a_0031
	DXGI_ERROR_NON_COMPOSITED_UI 0x887a_0032
	DXGI_STATUS_UNOCCLUDED 0x087a_0009
	DXGI_STATUS_DDA_WAS_STILL_DRAWING 0x087a_000a
	DXGI_ERROR_MODE_CHANGE_IN_PROGRESS 0x887a_0025
	DXGI_STATUS_PRESENT_REQUIRED 0x087a_002f
	DXGI_ERROR_CACHE_CORRUPT 0x887a_0033
	DXGI_ERROR_CACHE_FULL 0x887a_0034
	DXGI_ERROR_CACHE_HASH_COLLISION 0x887a_0035
	DXGI_ERROR_ALREADY_EXISTS 0x887a_0036
	DXGI_DDI_ERR_WASSTILLDRAWING 0x887b_0001
	DXGI_DDI_ERR_UNSUPPORTED 0x887b_0002
	DXGI_DDI_ERR_NONEXCLUSIVE 0x887b_0003
}
